<template>
	<view class="help">
		<view class="title">常见问题</view>
		<view class="problem flex_conter_c mTop2">
			<view class="item flex_conter_c" @click="goHelpList">
				<image class="icon" src="/pagesB/static/jifen.png" mode="widthFix"></image>
				<view class="label mTop2">积分</view>
			</view>
			<view class="item flex_conter_c" @click="goHelpList">
				<image class="icon" src="/pagesB/static/yue.png" mode="widthFix"></image>
				<view class="label mTop2">积分</view>
			</view>
			<view class="item flex_conter_c" @click="goHelpList">
				<image class="icon" src="/pagesB/static/qita.png" mode="widthFix"></image>
				<view class="label mTop2">积分</view>
			</view>
		</view>
		<view class="title mTop2">热门问题</view>
		<view class="helpList mTop2">
			<view class="item flex_space_b" @click="goDetails">
				<view class="label u-line-1">如何获得积分？</view>
				<u-icon name="arrow-right" color="#999" size="28"></u-icon>
			</view>
			<view class="item flex_space_b" @click="goDetails">
				<view class="label u-line-1">如何获得奖励？</view>
				<u-icon name="arrow-right" color="#999" size="28"></u-icon>
			</view>
			<view class="item flex_space_b" @click="goDetails">
				<view class="label u-line-1">如何填写收货地址？</view>
				<u-icon name="arrow-right" color="#999" size="28"></u-icon>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goHelpList () {
				uni.navigateTo({
					url: '/pagesB/my/helpList'
				})
			},
			goDetails () {
				uni.navigateTo({
					url: '/pagesB/my/helpDetails'
				})
			}
		}
	}
</script>

<style scoped>
.help {
	padding: 46rpx 32rpx;
}
.title {
	font-size: 36rpx;
	font-weight: 600;
}
.problem {
	flex-wrap: wrap;
}
.problem .item {
	width: 33.33%;
	height: 160rpx;
	flex-direction: column;
}
.problem .item .icon {
	width: 48rpx;
}
.problem .item .label {
	font-size: 26rpx;
	color: #666666;
}
.helpList .item {
	padding: 20rpx 0;
}
.helpList .item .label {
	color: #666;
	flex: 1;
	margin-right: 20rpx;
}
</style>
